package com.happyclub.lcy.dao;

import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.Date;

public interface IPhotoLibrary {

    @Modifying
    @Query(value = "insert into SCOTT.TB_PHOTO_LIBRARY (ID, PHOTO_URL, USER_ID, OK,  CREATE_TIME) ",nativeQuery = true)
    int insertPhotoLibrary(String id, String photoUrl, String userId, int ok, Date createTime);
}
